/**********************************************************************************
 * Code license:  GNU General Public License v3                                   *
 * Main page:     https://code.google.com/p/library-cross-platform/               *
 * Issue tracker: https://code.google.com/p/library-cross-platform/issues/list    *
***********************************************************************************/

package library.util;

import java.util.*;
import library.util.EventHandler;

public abstract class EventListenerExt implements EventListener { 
   protected EventHandler parent;

   public EventListenerExt() {
   }
   
   public EventListenerExt(EventHandler parent) {
    setParent(parent);
   }
   
   public void setParent(EventHandler p) {
    parent = p;
   }
   
   public EventHandler getParent() {
     return parent;
   }
   
   public abstract boolean start() throws IllegalEventException;

}
